Running a Sample File

Before preparing your own documents, you may want to get acquainted with LATEX by running it on a sample input file. First make your own copy of the file sample.tex by typing the following Ultrix command:

     cp /usr/local/lib/tex82/sample.tex .
(You must type the space followed by the period at the end. This and all other Ultrix commands are ended by typing return.) A copy of the file sample.tex is now in your current directory; you can edit it just like any other file. If you destroy or mess up your copy, typing the above command again gets you a fresh one.

Next, run LATEX on the file sample.tex by typing:

     latex sample
When LATEX has finished, it will have produced the file sample.dvi in your directory. You can print this file by typing the command
     iptex sample.dvi
The output will be produced on the Imagen printer, located next to the third floor receptionist's desk. If you want to print LATEX output on an Apple LaserWriter, see Section [*].

After your output has been printed, you can delete sample.dvi by typing

     rm sample.dvi